package com.etc.entity;

import org.springframework.stereotype.Component;

@Component
public class Admin {
    private String adminId;
    private String adminName;
    private String adminPwd;
    private int adminPuis; //用户权限(1管理员   2.超管)
    private int adminMark;//删除标记 0 禁用

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }

    public String getAdminPwd() {
        return adminPwd;
    }

    public void setAdminPwd(String adminPwd) {
        this.adminPwd = adminPwd;
    }
    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public int getAdminPuis() {
        return adminPuis;
    }

    public void setAdminPuis(int adminPuis) {
        this.adminPuis = adminPuis;
    }

    public int getAdminMark() {
        return adminMark;
    }

    public void setAdminMark(int adminMark) {
        this.adminMark = adminMark;
    }

    public Admin() {
    }

    public Admin(String adminId, String adminName, String adminPwd,int adminPuis, int adminMark) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPwd = adminPwd;
        this.adminPuis = adminPuis;
        this.adminMark = adminMark;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "adminId='" + adminId + '\'' +
                ", adminPwd='" + adminName + '\'' +
                ", adminPwd='" + adminPwd + '\'' +
                ", adminPuis=" + adminPuis +
                ", adminMark=" + adminMark +
                '}';
    }
}
